package com.koron.order.risk.base.service;

import com.github.pagehelper.PageInfo;
import com.koron.bean.query.PageQuery;
import com.koron.order.risk.base.bean.po.LineRiskChange;
import com.koron.order.risk.base.bean.vo.LineRiskChangeVO;
import org.koron.ebs.mybatis.SessionFactory;

public interface LineRiskChangeService {

    LineRiskChangeVO getRiskChangeById(SessionFactory factory, String id);

    PageInfo page(SessionFactory factory, PageQuery pageQuery, LineRiskChange lineRiskChange);

    LineRiskChange saveOrUpdate(SessionFactory factory, LineRiskChange lineRiskChange);

    Boolean delete(SessionFactory factory, String id);

    Boolean updateStatus(SessionFactory factory, String id, Integer status);

    Boolean updateMeasure(SessionFactory factory, LineRiskChange lineRiskChange);
}
